package com.cskaoyan.javase.oop2._0encapsulate._1basic;

/**
 * @description: 快捷键创建getter/setter方法
 * @author: wuguidong@cskaoyan.onaliyun.com
 **/

//alt+insert
public class Demo {
}
class Student{
    private int age;
    private String name;
    private int stuId;

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getStuId() {
        return stuId;
    }

    public void setStuId(int stuId) {
        this.stuId = stuId;
    }
}
